<html>
<head><meta charset="utf-8"><title>Reviving dead trait impl code · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Reviving.20dead.20trait.20impl.20code.html">Reviving dead trait impl code</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="168624168"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Reviving%20dead%20trait%20impl%20code/near/168624168" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dirkjan Ochtman <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Reviving.20dead.20trait.20impl.20code.html#168624168">(Jun 20 2019 at 19:00)</a>:</h4>
<p>I'm trying to fix <a href="https://github.com/rust-lang/rust/issues/58375" target="_blank" title="https://github.com/rust-lang/rust/issues/58375">https://github.com/rust-lang/rust/issues/58375</a> since it's been... waiting for quite a while</p>



<a name="168624222"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Reviving%20dead%20trait%20impl%20code/near/168624222" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dirkjan Ochtman <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Reviving.20dead.20trait.20impl.20code.html#168624222">(Jun 20 2019 at 19:00)</a>:</h4>
<p>my hypothesis so far is that since <a href="https://github.com/rust-lang/rust/pull/46916/commits/238ed47d290849cb5d37f18dbf15c2433fc88c80" target="_blank" title="https://github.com/rust-lang/rust/pull/46916/commits/238ed47d290849cb5d37f18dbf15c2433fc88c80">https://github.com/rust-lang/rust/pull/46916/commits/238ed47d290849cb5d37f18dbf15c2433fc88c80</a> some code that uses the impl has been revived but the impl itself was not</p>



<a name="168624259"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Reviving%20dead%20trait%20impl%20code/near/168624259" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dirkjan Ochtman <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Reviving.20dead.20trait.20impl.20code.html#168624259">(Jun 20 2019 at 19:01)</a>:</h4>
<p>so could anyone help point out places where unused impls might be killed or whatever?</p>



<a name="168626465"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Reviving%20dead%20trait%20impl%20code/near/168626465" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dirkjan Ochtman <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Reviving.20dead.20trait.20impl.20code.html#168626465">(Jun 20 2019 at 19:25)</a>:</h4>
<p>Also, how do I look at the output from <code>debug!()</code> calls?</p>



<a name="168628469"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Reviving%20dead%20trait%20impl%20code/near/168628469" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Reviving.20dead.20trait.20impl.20code.html#168628469">(Jun 20 2019 at 19:49)</a>:</h4>
<p>you can see the output when using the <code>RUSTC_LOG</code> env variable, more info is available in the rustc-guide <a href="https://rust-lang.github.io/rustc-guide/compiler-debugging.html#getting-logging-output" target="_blank" title="https://rust-lang.github.io/rustc-guide/compiler-debugging.html#getting-logging-output">here</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>